/**
 * 
 */

/**
 * @author TYM
 *
 */

import java.util.Date; 

public class LeftRecord extends Record {
    public final static String TYPE = "Left";
    private Site site;
    
    LeftRecord(User initUser, Date initDate, Site initSite) {
        user = initUser;
        date = initDate;
        site = initSite;
    }
    public Site getSite() {return site;}
    public String toString(String deli) {
        return user.toString()+deli+date.toString()
                +deli+site.getTitle()+deli+TYPE;
    }
    public String toString() {
        return this.toString(DELI);
    }
    public String type() {return TYPE;}
}
